package com.daimler.itffo.uvs.dialog;

import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.text.DefaultStyledDocument;
import javax.swing.text.Document;
import javax.swing.text.PlainDocument;
import javax.swing.text.StyledDocument;


/**
 * 
 * @author jfranken <br>
 * $Id: GfgModel.java,v 1.1 2010/03/18 12:40:54 jfranken Exp $
 * @version 1.$Revision: 1.1 $ 
 */
public class GfgModel {
	//DTCV tabelle als Erweiterung in Array TABLES eintragen
	private final static String[] TABLES = new String[]{"B158","DEQT","B044","DTCV","DGCV","B171","B157","TYKZ","B172","B035"};
	
	private final static String[] DATABASE = new String[]{"INT","PROD"};
	
	private Document _source_file = new PlainDocument();
	
	private Document _destination_folder = new PlainDocument();
	
	private StyledDocument _messages = new DefaultStyledDocument();
	
	private ComboBoxModel _selected_table = new DefaultComboBoxModel(TABLES);
	
	private ComboBoxModel _database = new DefaultComboBoxModel(DATABASE);

	
	/**
	 * @return the tABLES
	 */
	public static String[] getTABLES() {
		return TABLES;
	}

	
	/**
	 * @return the dATABASE
	 */
	public static String[] getDATABASES() {
		return DATABASE;
	}

	
	/**
	 * @return the source_file
	 */
	public Document getSourceFile() {
		return _source_file;
	}

	
	/**
	 * @return the destination_folder
	 */
	public Document getDestinationFolder() {
		return _destination_folder;
	}

	
	/**
	 * @return the messages
	 */
	public StyledDocument getMessages() {
		return _messages;
	}

	
	/**
	 * @return the selected_table
	 */
	public ComboBoxModel getTableModel() {
		return _selected_table;
	}

	
	/**
	 * @return the database
	 */
	public ComboBoxModel getDatabase() {
		return _database;
	}
	
	
	
}
